﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace WellBuilt.Model
{
    /// <summary>
    /// 混凝土梁计算
    /// </summary>
    #region 混凝土梁计算-传入参数
    public class ConcreteBeamIn
    {
        /// <summary>
        /// 荷载类型
        /// </summary>
        public string LoadType { get; set; }
        /// <summary>
        /// 钢筋牌号
        /// </summary>
        public double RebarMarks { get; set; }
        /// <summary>
        /// 混凝土强度等级
        /// </summary>
        public double HNT_Grade { get; set; }
        /// <summary>
        /// 受拉钢筋层数
        /// </summary>
        public double SLGJ_Layer { get; set; }
        /// <summary>
        /// 受拉钢筋直径
        /// </summary>
        public double SLGJ_Diameter { get; set; }
        /// <summary>
        /// 受压钢筋直径
        /// </summary>
        public double SYGJ_Diameter { get; set; }
        /// <summary>
        /// 弯起钢筋直径
        /// </summary>
        public double WQGJ_Diameter { get; set; }
        /// <summary>
        /// 弯起钢筋根数
        /// </summary>
        public double WQGJ_Radical { get; set; }
        /// <summary>
        /// 弯起角度
        /// </summary>
        public double WQGJ_Angle { get; set; }
        /// <summary>
        /// 箍筋直径
        /// </summary>
        public double GJ_Diameter { get; set; }
        /// <summary>
        /// 箍筋肢数
        /// </summary>
        public double GJ_Number { get; set; }
        /// <summary>
        /// 箍筋间距
        /// </summary>
        public double GJ_Spacing { get; set; }
        /// <summary>
        /// 箍筋牌号
        /// </summary>
        public double GJ_Marks { get; set; }
        /// <summary>
        /// 混凝土断梁面宽度
        /// </summary>
        public double HNT_Width { get; set; }
        /// <summary>
        /// 混凝土断梁面高度
        /// </summary>
        public double HNT_Height { get; set; }
        /// <summary>
        /// 1个集中荷载p1
        /// </summary>
        public double P1 { get; set; }
        /// <summary>
        /// 1个集中荷载a1
        /// </summary>
        public double A1 { get; set; }
        /// <summary>
        /// 1个集中荷载b1
        /// </summary>
        public double B1 { get; set; }
        /// <summary>
        /// 1个集中荷载l
        /// </summary>
        public double L0_1 { get; set; }
        /// <summary>
        /// 2个集中荷载p2
        /// </summary>
        public double P2 { get; set; }
        /// <summary>
        /// 2个集中荷载p3
        /// </summary>
        public double P3 { get; set; }
        /// <summary>
        /// 2个集中荷载a
        /// </summary>
        public double A { get; set; }
        /// <summary>
        /// 2个集中荷载b
        /// </summary>
        public double B { get; set; }
        /// <summary>
        /// 2个集中荷载c
        /// </summary>
        public double C { get; set; }
        /// <summary>
        /// 2个集中荷载l
        /// </summary>
        public double L0_2 { get; set; }
        /// <summary>
        /// 均布荷载q
        /// </summary>
        public double Q { get; set; }
        /// <summary>
        /// 均布荷载l
        /// </summary>
        public double L0_0 { get; set; }
    }
    #endregion

    #region 混凝土梁计算-传出参数
    public class ConcreteBeamOut
    {
        /// <summary>
        /// 单/双筋
        /// </summary>
        public string DJ { get; set; }
        /// <summary>
        /// 单/双筋计算值
        /// </summary>
        public double DJ_Calculated { get; set; }
        /// <summary>
        /// 单/双筋容许值
        /// </summary>
        public double DJ_Admissible { get; set; }
        /// <summary>
        /// 受压区高度x判断
        /// </summary>
        public string SYQ_Height { get; set; }
        /// <summary>
        /// 受压区高度
        /// </summary>
        public double SYQ_Values { get; set; }
        /// <summary>
        /// 界限受压区高度
        /// </summary>
        public double SYQ_Limit { get; set; }
        /// <summary>
        /// 梁配筋结果
        /// </summary>
        public string LPJ_Result { get; set; }
        /// <summary>
        /// 梁配筋结果计算值
        /// </summary>
        public double LPJ_Calculated { get; set; }
        /// <summary>
        /// 梁配筋结果容许值
        /// </summary>
        public double LPJ_Admissible { get; set; }
        /// <summary>
        /// 是否设弯起钢筋
        /// </summary>
        public string WQGJ { get; set; }

        /// <summary>
        /// 弯起钢筋计算值
        /// </summary>
        public double WQGJ_Calculated { get; set; }
        /// <summary>
        /// 弯起钢筋容许值
        /// </summary>
        public double WQGJ_Admissible { get; set; }
        /// <summary>
        /// 设弯起钢筋后抗剪验算
        /// </summary>
        public string KJ_Checking { get; set; }
        /// <summary>
        /// 抗剪计算值
        /// </summary>
        public double KJ_Calculated { get; set; }
        /// <summary>
        /// 抗剪容许值
        /// </summary>
        public double KJ_Admissible { get; set; }
    }
    #endregion
}
